package cn.tedu.charging.device.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

//表示功能注解
@Api(tags = "测试接口")
@RestController
public class Knife4jTestController {
    @ApiOperation("测试请求")
    @GetMapping("knife/test")
    @ApiImplicitParam(name = "name",value = "姓名")
    public String test(String name){
        return "hello"+name;
    }
}
